package com.baibei.ebec.user.login;

import com.baibei.basic.IPresenter;
import com.baibei.basic.IPresenterView;

/**
 * 登录协议
 * Created by ChenRui on 2017/5/3 0003 19:33.
 */
public interface LoginContract {

    interface Presenter extends IPresenter {
        void login();

        void cancel();
    }

    interface View extends IPresenterView {
        String getMobile();

        String getPassword();

        String getInvitationCode();

        String getImei();

        void onLoginSuccess();

        void onLoginFailed(String msg);
    }
}
